package com.fangcun.mapper;

import java.util.List;

import com.fangcun.bean.api.order.response.OrderGoodsDetailResponse;
import com.fangcun.bean.api.order.response.OrderGoodsListResponse;
import com.fangcun.entity.OrderGoods;

public interface OrderGoodsMapper {

	int deleteByPrimaryKey(Long id);

	int insert(OrderGoods record);

	int insertSelective(OrderGoods record);

	OrderGoods selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(OrderGoods record);

	int updateByPrimaryKey(OrderGoods record);

	List<OrderGoodsListResponse> listBasicByMainOrderId(Long orderId);

	List<OrderGoodsDetailResponse> listDetailByMainOrderId(Long orderId);

}